<template>
  <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
    <van-swipe-item v-for="(item,index) in bannerImg" :key="index">
      <img class="banner-img" :src="item.banner_img" alt />
    </van-swipe-item>
  </van-swipe>
</template>

<script>
export default {
  props: ['bannerImg'],
  data() {
    return {}
  },
  computed: {},
  created() { },
  mounted() { },
  watch: {},
  methods: {},
  components: {}
}
</script>

<style scoped>
.my-swipe {
  width: 100%;
  height: 225px;
}

.banner-img {
  width: 100%;
  height: 225px;
}
</style>
